/**
 * 
 */
package com.cyou.qb.common.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zoudongchao
 *
 */
public class Award implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8003632023572768629L;
	
	private Integer id;
	private Integer activeId;
	private String name;//奖品名称
	private String type;//奖品类型
	private String channel;//奖品分类
	private String image;//奖品图片
	private String url;//使用地址
	private int maxNum;//奖品数量，只加不减
	private int currNum;//奖品当前数量，如果有指定用户中奖以及中奖则此数量--
	private int gNum;//金币数量，如果此奖品是金币的话
	private String memo;//描述
	private int winType;//中奖方式：1、指定用户中奖、2：时间中奖、3：尾数中奖
	private int numWin;//尾数中奖尾数
	private String dateWin;//时间中奖时间
	private int valid;//有效性：1有效，0无效
	private Date createDate;//创建时间
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getActiveId() {
		return activeId;
	}
	public void setActiveId(Integer activeId) {
		this.activeId = activeId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public int getMaxNum() {
		return maxNum;
	}
	public void setMaxNum(int maxNum) {
		this.maxNum = maxNum;
	}
	public int getCurrNum() {
		return currNum;
	}
	public void setCurrNum(int currNum) {
		this.currNum = currNum;
	}
	public int getgNum() {
		return gNum;
	}
	public void setgNum(int gNum) {
		this.gNum = gNum;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public int getWinType() {
		return winType;
	}
	public void setWinType(int winType) {
		this.winType = winType;
	}
	public int getNumWin() {
		return numWin;
	}
	public String getDateWin() {
		return dateWin;
	}
	public void setDateWin(String dateWin) {
		this.dateWin = dateWin;
	}
	public void setNumWin(int numWin) {
		this.numWin = numWin;
	}
	public int getValid() {
		return valid;
	}
	public void setValid(int valid) {
		this.valid = valid;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


}
